|
Author |
Thread Statistics | Show CCP posts - 2 post(s) |
Jack McReady
DUST University Ivy League
1905
|
Posted - 2015.01.25 13:54:00 -
[1] - Quote
some time ago I made a thread reporting an issue with rounding => https://forums.dust514.com/default.aspx?g=posts&t=186049 I have a fit, that mathematically should work fine but ingame it does not.
I had a discussion with a GM through a ticket and it looks like it works the following way: numbers are rounded to the first decimal place and since the fitting window can only accommodate whole numbers it is again rounded to whole numbers
now lets take the following fit: Assault mk.0 Complex Light Damage Modifier Complex Shield Extender Complex Shield Extender Complex Shield Recharger Complex Armor Repairer Complex Ferroscale Plates Complex Ferroscale Plates Complex Shield Regulator Six Kin Assault Combat Rifle Six Kin Submachine Gun Core Locus Grenade Wiyrkomi Nanite Injector
with max skills the fit will have available CPU of 514.5 have required CPU of 514.4625
now required CPU is first rounded to the first decimal thus becomes 514.5 and since the fitting window can only accommodate whole numbers it is again rounded up to 515. this is all fine.
here comes the part of the incosistency/bug, the available CPU is 514.5 and since the fitting window can only accommodate whole numbers it is again rounded BUT it is rounded down incorrectly to 514. result is an invalid while mathematically it will fit perfectly. I dont exactly know why this is incorrectly rounded here, but it happens.
another fit, tested by myself ingame with a respec: Assault gk.0 Complex Light Damage Modifier Complex Light Damage Modifier Complex Light Damage Modifier Complex Ferroscale Plates Complex Ferroscale Plates Complex Ferroscale Plates Complex Armor Repairer Complex Armor Repairer Allotek Plasma Cannon Core Flaylock Pistol Core Locus Grenade Ishukone Nanohive
available PG 91.875 results in 92 ingame. required PG 92.25 results in 92 ingame.
for some magical reason this fit is, unlike my minmatar assault, rounded correctly.
my concern is, the inconsistent behavior and rounding can make certain fits invalid, like my minmatar assault. the core and weapon fitting skills will always produce decimals and thus can make heavily invested SP into skills, to milk out a bit more, worthless because while you could mathematically make the fit, you could find out ingame you still cant.
this should be looked at imho. |
Jack McReady
DUST University Ivy League
1989
|
Posted - 2015.01.29 09:10:00 -
[2] - Quote
would be awesome if a CPM could post an answer |
Jack McReady
DUST University Ivy League
2000
|
Posted - 2015.01.30 08:42:00 -
[3] - Quote
CCP Rattati wrote:I will check, but I assume that it is not rounding first to .5 and then from the .5
the correct rounding to zero decimal "is" 514 , so therefore the fit is invalid.
I know how the correct rounding to zero is, that was the whole point of my thread
mathematically the fits total CPU available CPU is 514.5 => it ends with 514 ingame mathematicall the total CPU the fit requires is 514.4625 => it ends with 515 ingame results 515 out of 514, fit invalid.
when rounding towards zero the fit should end 514 out of 514 when rounding towards the nearest the should end with 514 out of 515 in both cases the fit would be valid. something is fishy here unless results are rounded inbetween.
my other fit available PG 91.875 results in 92 ingame. required PG 92.25 results in 92 ingame. looks like it is not rounded towards zero but rounded towards the nearest. |
Jack McReady
DUST University Ivy League
2000
|
Posted - 2015.01.30 12:49:00 -
[4] - Quote
Kaze Eyrou wrote:Jack:
Over this week, I have finally leveled up most of my skills to match yours when it comes to CPU to test this specific issue. Like I've said before something is wonky, but I need to test a bunch of different things. Find me in corp chat and we'll run some tests.
I think? Anyways, I'm still going to run some tests when I get home.
I respecced out of it and dont have the skills for it any more thus I cant really help you with the tests.
Kaze Eyrou wrote: EDIT: I think I understand what Rattati is trying to say. When the CPU is 514.44, the 4 in the hundreds place rounds down, and tens place is unaffected. 514.4 then rounds down to 514.
However, if it should be 514.45, the hundreds place rounds up to 514.5, and finally to 515.
this doesnt really change anything, or atleast it shouldnt. a smaller value can never end bigger when rounded then a larger when rounded if both values are rounded the same way unless CCP invented some new rounding method . so either, values are rounded differently (unfair, inconsistent & devalues heavy skills point investments) or there is a bug.
the available CPU is EXACTLY 514.5, it is not in the hundreds place. rounded towards the nearest (or half round up) => 515 rounded away from zero (or half round up) => 515 rounded towards zero (or half round down) => 514
required CPU 514.4625 rounded towards the nearest => 514 rounded away from zero => 515 rounded towards zero => 514
according to your comment required CPU 514.4625, first rounded to 4 significant digits 514.5 and then... rounded towards the nearest => 515 rounded away from zero => 515 rounded towards zero => 514
as you can see, the only scenario where the fit would became invalid is, when the availaible CPU is rounded towards zero and the required is rounded away from zero. but then, the gallente PG is rounded all towards nearest as seen with my fit. |
Jack McReady
DUST University Ivy League
2006
|
Posted - 2015.02.02 08:36:00 -
[5] - Quote
Garth Mandra wrote:If it helps I believe a dev (Wolfman?) once long long ago mentioned that 0.5 gets rounded down.
So, 0.49 rounds to 0 0.50 rounds to 0 0.51 rounds to 1 required CPU is 514.4625, which would get rounded down according to that logic but it isnt, that is the whole point of the post.
either values are rounded differently (which is BS because it devalues alot of invested SP) or something is not working correctly. |
Jack McReady
DUST University Ivy League
2013
|
Posted - 2015.02.03 10:25:00 -
[6] - Quote
Kaze Eyrou you are boss
I quickly took a look into the RAW SDE and the CPU requirements of complex shield rechargers are.....
Quote:modifier.0.modifierValue71.4
shield energizer is no different in that regard.
informative and transparent UI ftw. how can a player even know this without digging deeply into the secrets of dust?
either remove the decimal for requirements or show the decimals! |
|
|
|